package com.example.iccil.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.iccil.model.dto.space.SpaceAddRequest;
import com.example.iccil.model.dto.space.SpaceQueryRequest;
import com.example.iccil.model.entity.Space;
import com.example.iccil.model.entity.User;

/**
* @author RUNONE012
* @description 针对表【space(空间)】的数据库操作Service
* @createDate 2025-06-25 16:29:06
*/
public interface SpaceService extends IService<Space> {

    void validSpace(Space space, boolean add);

    void fillSpaceBySpaceLevel(Space space);

    long addSpace(SpaceAddRequest spaceAddRequest, User loginUser);

    QueryWrapper<Space> getQueryWrapper(SpaceQueryRequest spaceQueryRequest);
}
